﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace AudioPlayer.GUI.Music {
	/// <summary>
	/// Music Context menu
	/// </summary>
	internal class MusicContext : ContextMenuStrip {
		#region Variables
		private ToolStripMenuItem _new;
		private ToolStripSeparator _sep;
		private ToolStripMenuItem _delete;
		#endregion
		#region Constructor
		/// <summary>
		/// Initializes a new instance of the <see cref="MusicContext"/> class.
		/// </summary>
		public MusicContext() {
			_new = new ToolStripMenuItem("New Playlist");
			_sep = new ToolStripSeparator();
			_delete = new ToolStripMenuItem("Delete");

			this.Items.Add(_new);
			this.Items.Add(_sep);
			this.Items.Add(_delete);
			if (!this.DesignMode) {
				this.ShowImageMargin = false;
			}
		}
		#endregion
		#region Property
		/// <summary>
		/// Gets or sets the item new item.
		/// </summary>
		/// <value>The item new.</value>
		public ToolStripMenuItem ItemNew {
			get { return _new; }
			set { _new = value; }
		}
		/// <summary>
		/// Gets or sets the first  seperator item.
		/// </summary>
		/// <value>The first seperator item.</value>
		public ToolStripSeparator ItemSeperatorFirst {
			get { return _sep; }
			set { _sep = value; }
		}
		/// <summary>
		/// Gets or sets the delete item.
		/// </summary>
		/// <value>The Delete item.</value>
		public ToolStripMenuItem ItemDelete {
			get { return _delete; }
			set { _delete = value; }
		}
		#endregion
	}
}
